Optimal. Leaf size=20 \[ -\sqrt {4-x^2}+\sin ^{-1}\left (\frac {x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {655, 222}
\begin {gather*} \text {ArcSin}\left (\frac {x}{2}\right )-\sqrt {4-x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 655
Rubi steps
\begin {align*} \int \frac {1+x}{\sqrt {4-x^2}} \, dx &=-\sqrt {4-x^2}+\int \frac {1}{\sqrt {4-x^2}} \, dx\\ &=-\sqrt {4-x^2}+\sin ^{-1}\left (\frac {x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 34, normalized size = 1.70 \begin {gather*} -\sqrt {4-x^2}-2 \tan ^{-1}\left (\frac {\sqrt {4-x^2}}{2+x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.42, size = 17, normalized size = 0.85
method | result | size |
default | \(\arcsin \left (\frac {x}{2}\right )-\sqrt {-x^{2}+4}\) | \(17\) |
risch | \(\frac {x^{2}-4}{\sqrt {-x^{2}+4}}+\arcsin \left (\frac {x}{2}\right )\) | \(21\) |
meijerg | \(\arcsin \left (\frac {x}{2}\right )-\frac {-2 \sqrt {\pi }+2 \sqrt {\pi }\, \sqrt {-\frac {x^{2}}{4}+1}}{\sqrt {\pi }}\) | \(31\) |
trager | \(-\sqrt {-x^{2}+4}-\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (-\RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{2}+4}+x \right )\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.57, size = 16, normalized size = 0.80 \begin {gather*} -\sqrt {-x^{2} + 4} + \arcsin \left (\frac {1}{2} \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.06, size = 30, normalized size = 1.50 \begin {gather*} -\sqrt {-x^{2} + 4} - 2 \, \arctan \left (\frac {\sqrt {-x^{2} + 4} - 2}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 12, normalized size = 0.60 \begin {gather*} - \sqrt {4 - x^{2}} + \operatorname {asin}{\left (\frac {x}{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.44, size = 16, normalized size = 0.80 \begin {gather*} -\sqrt {-x^{2} + 4} + \arcsin \left (\frac {1}{2} \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 16, normalized size = 0.80 \begin {gather*} \mathrm {asin}\left (\frac {x}{2}\right )-\sqrt {4-x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________